<?php
return array(
	'formView' => array(
		'fields' => array(
			'guid' => false,
			'id' => false,
			'status' => false,
			'object_type' => false,
			'validity_time' => false,
			'worker_name' => $model->isNewRecord ? array('textField') : array('class'=>'StringField'),
			'worker_password' => $model->isNewRecord ? array('passwordField') : false,
			'_with' => array(
				'profile.nickname',
				'profile.mobile',
				'profile.email',
			),
		)
	),
	'_import' => array(
		array('*', 'actions.edit//*'),
	),
);